package com.szit.deviceclient.remote.fallback;

import com.szit.deviceclient.remote.AdminFeign;
import com.szit.util.CodeMsg;
import com.szit.util.Result;
import org.springframework.stereotype.Component;

/**
 * @author wyler
 * @date 2020-10-16
 */
@Component
public class AdminFeignFallbackFactory implements AdminFeign {
    @Override
    public Result selectAdminUserByToken(String token) {
        return Result.error(CodeMsg.SERVER_EXCEPTION);
    }
}
